package com.dddd.blog.blogadmin;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * @author 喵星球的大橘
 */
@SpringBootApplication
@MapperScan(basePackages = {"com.dddd.blog.blogadmin.mapper"})
@ComponentScan(basePackages = {"com.dddd.blog"})
@EnableSwagger2
@EnableFeignClients(basePackages = {"com.dddd.blog.api"})
public class BlogAdminApplication {

    public static void main(String[] args) {
        SpringApplication.run(BlogAdminApplication.class, args);
    }

}
